/*

 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License
 as published by the Free Software Foundation; version 2
 of the License.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

*/
#import "XBMC-Common.h"


@class XBMCControlApplication;
@class XBMCHttpInterface;
@class MediaItemFactory;
@protocol PlaybackControlObserver;


@interface PlaybackControlView : UIView {
	XBMCHttpInterface *m_xbmc;
	struct CGRect m_rect;
	id <PlaybackControlObserver> m_observer;
	
	UIPushButton *m_prevTrackButton;
	UIPushButton *m_playPauseButton;
	UIPushButton *m_nextTrackButton;
	
	float c_prevNextButtonSize;
	float c_playPauseButtonSize;
}

- (id) initWithObserver: (id <PlaybackControlObserver>) observer withFrame: (struct CGRect)rect;
- (int) getHeight;
- (int) getWidth;

@end
